/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package CSA;

/**
 *
 * @author lubinchen
 */


import java.net.*;
import java.io.*;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.Socket;




public class callthis {

     int port=6000;
   InetAddress clientIP= null;


    public callthis(){}


    public void next(){


    	    ChatServer server=new ChatServer(port);
    	    ChatClient client= new ChatClient(clientIP,port);
            System.out.println("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Codes comes to 2");
    }



    public InetAddress getInet(String DestinationIP)
    {
    try{
        clientIP= InetAddress.getByName(DestinationIP);

        }catch (Exception e){}

    return clientIP;
    }

public static  void main(String args[]){

    callthis call=new callthis();
    call.getInet("192.168.79.128");
    call.next();
}

}

